package com.example.page.data.remote.model

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

/**
 * API 返回的 Quotes List 类
 * @property data QuotesData List
 * @property message API 返回的消息
 * @property pagination Pagination 实例
 * @property statusCode API 返回的状态码
 * @property totalQuotes Quotes 数量
 *
 * App -> API -> API Model Class(JSON)
 */
@Serializable
data class ApiQuotesList(
    @SerialName("data")
    val data: List<QuotesData> = listOf(),
    @SerialName("message")
    val message: String = "",
    @SerialName("pagination")
    val pagination: Pagination = Pagination(),
    @SerialName("statusCode")
    val statusCode: Int = 0,
    @SerialName("totalQuotes")
    val totalQuotes: Int = 0
)